#!/usr/bin/env python
# _*_ coding: utf-8 _*_
"""
@author: caimengzhi
@license: (C) Copyright 2013-2017.
@contact: 610658552@qq.com
@software: pycharm 2017.02
@project: luxffy
@file: settings.py
@time: 18-3-2 上午9:31
@desc:
"""
import os
import sys

# STATUS_CODE ={
#         200 : "Passed authentication!",
#         201 : "Wrong username or password!",
#         300 : "File does not exist !",
#         301 : "File exist , and this msg include the file size- !",
# }

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

HOST = "0.0.0.0"
PORT = 9200


USER_HOME_DIR = os.path.join(BASE_DIR,'home')

ACCOUNT_FILE = "%s/conf/accounts.ini" % BASE_DIR

MAX_SOCKET_LISTEN = 10
MAX_FTP_CONN = 3

list = 'ls' if sys.platform == "linux" else 'dir'